<?php
require_once("./php/listExam.php");
?>
<table width="90%" border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td>Available Exams </td>
    <td>&nbsp;</td>
  </tr>
<?php
	while($rowE = mysql_fetch_array($resE)){
?>
  <tr>
    <td><?php echo $rowE['name']; ?></td>
    <td><a href="exam.php?exam=<?php echo $rowE['id']; ?>">Start Exam</a></td>
  </tr>
  <?php
  }
  ?>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
